

<div id="menu">

<?php
	$subpages = array(
	"Crop Explorer"=>"cropDatabaseInfo.php", 
	"Add Crop Data"=>"insert_cropinfo.php",
	"Cropping Plan"=>"croppingPlan.php", 
	"Administrative"=>"adminPage.php",
	"About Us"=>"AboutUs.php"
	
	);
	
	
?>

			<ul>
			<?php
			
			
			
			foreach($subpages as $pagename => $pageURL){
				if ($thispage == $pagename){
					print("<li class=\"current_page_item\"><a href=\"$pageURL\">$pagename</a></li>\n");
				}else{
					print("<li><a href=\"$pageURL\">$pagename</a></li>\n");
				}
			}
			
			?>
			</ul>
			
</div>
